stop moving
Type
command
Summary
Stops an object that was set in motion by the move command.
Syntax
stop moving <object>
Description
Use the stop moving command to halt an object before the move command completes.
You can stop moving an object that is not in motion without causing an error, but doing so has no effect.
If you issue another move command while a previous move command for the same object is still executing, the previous move command is halted, and the second move command starts up at the object's current location.
To move multiple objects at the same time, set the lockMoves property to true before issuing the move commands. When you set the lockMoves back to false, all the pending moves begin at once.
Parameters
Name | Type | Description |
---|---|---|
object | Any window or control being moved with the move command. |
Examples
stop moving card button 2
stop moving the defaultStack
Related
command: move
glossary: object, property, command, error, execute
property: lockMoves
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile